package com.itheima.day14.day14work4;

import java.util.concurrent.CountDownLatch;

public class Mother implements Runnable {
    private  CountDownLatch cdl;
    public Mother(CountDownLatch cdl) {
        this.cdl=cdl;
    }

    @Override
    public void run() {
        try {
            cdl.await();
        } catch (InterruptedException e) {

        }

        System.out.println("妈妈收拾碗筷");
    }
}
